.context-menu-list {
    margin: 0;
    padding: 2px;
    min-width: 120px;
    max-width: 250px;
    display: inline-block;
    position: absolute;
    list-style-type: none;
    /*
    border: 1px solid #DDD;
    background: #EEE;
    */
    background: #f5f5f5;
    border: 1px solid #979797;
    -moz-box-shadow: 5px 5px 4px -4px #666666;
    -webkit-box-shadow: 2px 2px 2px #999999;
    box-shadow: 2px 2px 2px #999999;
    z-index:9999999;
}

.context-menu-item {
    position: relative;
    text-indent: 5px;
    display: block;
    padding: 0 2em 0 2em;
    text-decoration: none;
    width: auto;
    color: black;
    white-space: nowrap;
    line-height: 2.4em;
    -moz-text-shadow: 1px 1px 0 white;
    -webkit-text-shadow: 1px 1px 0 white;
    /*text-shadow: 1px 1px 0 white;*/
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
}

    .context-menu-item > i {
        text-decoration: none;
        display: inline-block;
        width: 2.4em;
        height: 2.4em;
        background: transparent;
        margin: 0 0 0 -2em;
        vertical-align: top;
        text-align: center;
        line-height: 2.4em;
    }

        .context-menu-item > i:empty {
            width: 2.4em;
            line-height: 2.4em;
        }

    .context-menu-item .wx-contextmenu-sep {
        display: inline-block;
        width: 1px;
        height: 2.4em;
        background: white;
        margin: 0 0.5em 0 0;
        border-left: 1px solid #e2e3e3;
    }

.context-menu-separator {
    padding-bottom: 0;
    border-bottom: 1px solid #DDD;
}

.context-menu-item > label > input,
.context-menu-item > label > textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.context-menu-item.hover {
    cursor: pointer;
    background-color: #e8eff7;
    -moz-box-shadow: 0 0 2px #0a6aa1;
    -webkit-box-shadow: 0 0 2px #0a6aa1;
    box-shadow: 0 0 2px #0a6aa1;
}

.context-menu-item.disabled {
    color: #666;
}

    .context-menu-input.hover,
    .context-menu-item.disabled.hover {
        cursor: default;
        background-color: #EEE;
    }

.context-menu-submenu:after {
    content: ">";
    color: #666;
    position: absolute;
    top: 0;
    right: 3px;
    z-index: 1;
}

/* icons
    #protip:
    In case you want to use sprites for icons (which I would suggest you do) have a look at
    http://css-tricks.com/13224-pseudo-spriting/ to get an idea of how to implement 
    .context-menu-item.icon:before {}
*/
.context-menu-item.icon {
    min-height: 18px;
    background-repeat: no-repeat;
    background-position: 8px 8px;
}

.context-menu-item.icon-edit {
    background-image: url(../../Images/Icons/ContextMenu/Edit.png);
}

.context-menu-item.icon-cut {
    background-image: url(../../Images/Icons/ContextMenu/Cut.png);
}

.context-menu-item.icon-copy {
    background-image: url(../../Images/Icons/ContextMenu/Copy.png);
}

.context-menu-item.icon-paste {
    background-image: url(../../Images/Icons/ContextMenu/Paste.png);
}

.context-menu-item.icon-delete {
    background-image: url(../../Images/Icons/ContextMenu/Delete.png);
}

.context-menu-item.icon-add {
    background-image: url(../../Images/Icons/ContextMenu/Add.png);
}

.context-menu-item.icon-quit {
    background-image: url(../../Images/Icons/ContextMenu/Door.png);
}

.context-menu-item.icon-move {
    background-image: url(../../Images/Icons/ContextMenu/Move.png);
}

/* vertically align inside labels */
.context-menu-input > label > * {
    vertical-align: top;
}

/* position checkboxes and radios as icons */
.context-menu-input > label > input[type="checkbox"],
.context-menu-input > label > input[type="radio"] {
    margin-left: -17px;
}

.context-menu-input > label > span {
    margin-left: 5px;
}

.context-menu-input > label,
.context-menu-input > label > input[type="text"],
.context-menu-input > label > textarea,
.context-menu-input > label > select {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

    .context-menu-input > label > textarea {
        height: 100px;
    }

.context-menu-item > .context-menu-list {
    display: none;
    /* re-positioned by js */
    right: -5px;
    top: 5px;
}

.context-menu-item.hover > .context-menu-list {
    display: block;
}

.context-menu-accesskey {
    text-decoration: underline;
}
